package com.sy.rebbitmq_spring.beans;

public class MessageDelegate {
    public void handleMessage(byte[] messageBody){
        System.out.println("默认方法:"+new String(messageBody));
    }
    public void handleMessage1(String messageBody){
        System.out.println("默认方法1:"+new String(messageBody));
    }
    public void handleMessage2(String messageBody){
        System.out.println("默认方法2:"+messageBody);
    }
}
